package com.eyedsion.his.web.entity.businessdata;

import com.eyedsion.his.web.entity.common.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 彭长云
 * @Description:
 * @date 2018/12/14 11:01
 */
@Entity
@Table(name = "ih_prepay")
public class IhPrepay extends BaseEntity{
    @Id
    private String code;//预交记录PK [CODE, VARCHAR2, 32]
    private String billNo;//预交编号 [BILL_NO, VARCHAR2, 32]
    private String inpCode;//住院号 [INP_CODE, VARCHAR2, 32]
    private String medcardNo;//医疗卡号 [MEDCARD_NO, VARCHAR2, 32]
    private String serviceWindowCode;//业务窗口 [SERVICE_WINDOW_CODE, VARCHAR2, 32]
    private String prepayType;//预交类别; 1收费 2退费 3补打发票[整张票全退再收] [PREPAY_TYPE, VARCHAR2, 1]
    private String invoiceNo;//发票号码 [INVOICE_NO, VARCHAR2, 32]
    private String settTstatus;//结算标识; 1-未结算 2-已结算 [SETT_TSTATUS, VARCHAR2, 1]
    private String settlementCode;//结算编码 [SETTLEMENT_CODE, VARCHAR2, 32]
    private BigDecimal prepayMoney;//预交金额 [PREPAY_MONEY, NUMBER, 14.4]
    private String remark;//备注描述 [REMARK, VARCHAR2, 128]
    private String receiptPrintFlag;//打印标志;1-未打印 2-已打印 [RECEIPT_PRINT_FLAG, VARCHAR2, 1]
    private Long refGroupNo;//退费产生的组号；只在退费时和再收形成一个组号，采用递增模式 [REF_GROUP_NO, NUMBER, 2.0]
    private String beforePrepayCode;//上一次收预交金PK;针对退费 [BEFORE_PREPAY_CODE, VARCHAR2, 32]
    private String startPrepayCode;//最开始收预交金PK;针对退费 [START_PREPAY_CODE, VARCHAR2, 32]
    private String createUser;//创建人;操作人 [CREATE_USER, VARCHAR2, 32]
    private Date createTime;//创建时间;预交日期 [CREATE_TIME, DATE, 7]
    private Date updateTime;//更新时间 [UPDATE_TIME, DATE, 7]

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getInpCode() {
        return inpCode;
    }

    public void setInpCode(String inpCode) {
        this.inpCode = inpCode;
    }

    public String getMedcardNo() {
        return medcardNo;
    }

    public void setMedcardNo(String medcardNo) {
        this.medcardNo = medcardNo;
    }

    public String getServiceWindowCode() {
        return serviceWindowCode;
    }

    public void setServiceWindowCode(String serviceWindowCode) {
        this.serviceWindowCode = serviceWindowCode;
    }

    public String getPrepayType() {
        return prepayType;
    }

    public void setPrepayType(String prepayType) {
        this.prepayType = prepayType;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public String getSettTstatus() {
        return settTstatus;
    }

    public void setSettTstatus(String settTstatus) {
        this.settTstatus = settTstatus;
    }

    public String getSettlementCode() {
        return settlementCode;
    }

    public void setSettlementCode(String settlementCode) {
        this.settlementCode = settlementCode;
    }

    public BigDecimal getPrepayMoney() {
        return prepayMoney;
    }

    public void setPrepayMoney(BigDecimal prepayMoney) {
        this.prepayMoney = prepayMoney;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getReceiptPrintFlag() {
        return receiptPrintFlag;
    }

    public void setReceiptPrintFlag(String receiptPrintFlag) {
        this.receiptPrintFlag = receiptPrintFlag;
    }

    public Long getRefGroupNo() {
        return refGroupNo;
    }

    public void setRefGroupNo(Long refGroupNo) {
        this.refGroupNo = refGroupNo;
    }

    public String getBeforePrepayCode() {
        return beforePrepayCode;
    }

    public void setBeforePrepayCode(String beforePrepayCode) {
        this.beforePrepayCode = beforePrepayCode;
    }

    public String getStartPrepayCode() {
        return startPrepayCode;
    }

    public void setStartPrepayCode(String startPrepayCode) {
        this.startPrepayCode = startPrepayCode;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
